import { WeaLocaleProvider } from "ecCom";
const getLabel = WeaLocaleProvider.getLabel;

const ComVar = {
  Week: {
    day_0:() => getLabel(398,"星期日"), 
    day_1:() => getLabel(392,"星期一"), 
    day_2:() => getLabel(393,"星期二"), 
    day_3:() => getLabel(394,"星期三"), 
    day_4:() => getLabel(395,"星期四"), 
    day_5:() => getLabel(396,"星期五"), 
    day_6:() => getLabel(397,"星期六")
  },
  Type: {
    none: {
      name: "none",
      icon: "",
      tip: "",
      tipFunc: () => ""
    },
    current: {
      name: "current",
      icon: "",
      tip: getLabel(384392,"编辑中"),
      tipFunc: () => getLabel(384392,"编辑中")
    },
    normal: {
      name: "normal",
      icon: "check",
      tip: getLabel(26924,"提交于"),
      tipFunc: () => getLabel(26924,"提交于")
    },
    expired: {
      name: "expired",
      icon: "question",
      tip: getLabel(26925,"补交于"),
      tipFunc: () => getLabel(26925,"补交于")
    },
    white: {
      name: "white",
      icon: "exclamation",
      tip: getLabel(32555,"未提交"),
      tipFunc: () => getLabel(32555,"未提交")
    }
  },
  Format:{
    invalid: "invalid",
    current:"current",
    week:"week",
    month:"month",
    year:"year"
  },
  PrefixCls: 'wea-timeline',
  Offset: 5
}

export default ComVar